#!/bin/sh
NAME=fakeidentd
case "$1" in
  start)
  	iptables -A input_rule -p tcp --dport 113 -j ACCEPT
	[ -e $DEFAULT ] && $NAME $DEFAULT
	;;
  stop)
        killall $NAME
	;;
  restart)
	killall $NAME
	$NAME
	;;
  *)
	echo "Usage: $NAME (start|stop|restart)" > 2&
	exit 1
	;;
esac
